@extends('base')
@section('title', 'news.title')
@section('csses')
@endsection
@section('content')
    <div style="margin: 0px 20px;">
        <div style="border-bottom: 1px solid #CCCCCC; padding-bottom: 8px;">
            <span><b style="font-size: 13px;"> News</b></span>
        </div>
        <div style="margin-top: 30px;">
            @foreach($post as $value)
            <div style="height: 30px;">
                » <a href="{{ action('NewsController@new', ['id' => $value->id]) }}" target="_blank" style="color: black;font-size: 13px;">{{ $value->short_description }}</a> [{{ substr($value->created_at, 0, 10) }}]
            </div>
            @endforeach
        </div>
    </div>
@endsection